class Note {
  constructor(path, name, isDir, children = []) {
    this.path = path
    this.isDir = isDir
    this.name = name
    this.children = children
  }
}

class NoteState extends Note {
  constructor(path, name, isDir, children = [], expand = false) {
    super(path, name, isDir, children)
    this.expand = expand
  }
}

module.exports = {Note, NoteState}
